package sanshi.contect.abstractfactory.abstract02;

/**
 * 工厂模式
 */
public class FacMain {
    public static void main(String[] args) {
        Car car = new Car();
        car.go();
        MagicStick w  = new MagicStick();
        w.shoot();
        Bread b = new Bread();
        b.printName();


    }
}
